﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace YiYiTong.Rocket.Model.ParamModel
{
    /// <summary>
    /// 商品查询
    /// </summary>
    public class OrderMasterQueryModel : BaseQueryModel
    {
        public string mpn { get; set; }
        public string supplier_name { get; set; }

        public string account_mobile { get; set; }
        public string order_NO { get; set; }

        public int order_status { get; set; } = -6;
        /// <summary>
        /// 0 线下支付
        /// 1 所有线上支付
        /// 2、3、4 各类支付
        /// </summary>
        public int pay_type { get; set; } = -10;

        /// <summary>
        /// 0 用户购物车下单
        /// >10 表示系统下单
        //  11 预订导致的系统下单
        /// </summary>
        public int order_source { get; set; } = -10;

        public DateTime? create_time_begin { get; set; } //= DateTime.Now.Date.AddDays(-6);
        public DateTime? create_time_end { get; set; } //= DateTime.Now.Date.AddSeconds(24 * 60 * 60 - 1);


        public DateTime? pay_succ_time_begin { get; set; }
        public DateTime? pay_succ_time_end { get; set; }


        public DateTime? pay_end_time_begin { get; set; }
        public DateTime? pay_end_time_end { get; set; }

        public int is_succ { get; set; } = -10;
        //是否发货
        public int is_send { get; set; } = -10;
    }
}